package com.lin.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DynamicEntity implements Serializable {
    //主键
    private Integer id;
    //用户id
    private Integer userId;
    //文案
    private String dynamicText;
    //点赞量
    private String dynamicThumbs;
    //收藏量
    private String dynamicCollection;
    //转发量
    private String dynamicForward;
    //上传时间
    private LocalDateTime dynamicTime;
    //是否发布 存草稿就是保存了 此设为0 发布此设为1
    private Integer is_send;
    //视频地址
    private String videoUrl;
    //图片地址
    private String imagesUrl;
    //评论
    private String comment;
}

